Y = [1 0 1 1 0 0 0; 0 0 0 0 1 0 1; 0 1 0 0 0 1 0; 1 0 0 2 0 1 1; 0 0 1 0 1 0 0];
A = zeros(7);
A(1,2) = 0.2;
A(2,1) = 2.0;
A(2,3) = 1.2;
A(3,2) = 0.7;
A(4,5) = 0.4;
A(5,6) = 1.0;
A(6,5) = 1.7;
A(6,7) = 10.0;
A(7,4) = 4.0;
A(4,7) = 0.02;


D = diag(A*ones(7,1));
Ak = A'-D;
% Y = [1,0,0,1,0;2,0,0,1,0;0,0,1,0,1;0,0,1,0,0;0,1,0,0,0];
% A = zeros(5);
% A(1,2) = 0.2;
% A(2,3) = 0.5;
% A(3,1) = 2;
% A(4,5) = 1;
% A(5,4) = 10;
% D = diag(A*ones(5,1));
% Ak = A'-D;

